package linkList;

public class Test {
    public static void main(String[] args) {
        MyLinkList<String> hello = new MyLinkList<>();
        hello.add(0,"张三");
        hello.add(1,"李四");
        hello.add(2,"王五");
        hello.add(1,"赵六");
        hello.add(4,"hello");
        hello.remove(0);
        System.out.println(hello.getNum());
        for (int i = 0 ; i < hello.getNum() ; i++){
            System.out.println(hello.find(i).toString());
        }

    }
}
